//start explorer z:
set zipname="%~dp0111_%date:/=-% %time::=-% .zip"
 

if exist "%~dp0AutoHotKey"  ( set ahk_home=%~dp0AutoHotKey)
 
 if exist "%~dp0ATIBROW\AutoHotKey"   set ahk_home=%~dp0ATIBROW\AutoHotKey

 set atibrow_home=%~dp0
if exist %~dp0AtiBrow  set atibrow_home=%~dp0AtiBrow
 

 
 set java_home=%~dp0jdk1.7.0_0132bit
if exist d:\jdk1.7.0_0132bit ( set java_home=d:\jdk1.7.0_0132bit)
  if not exist %java_home%   set java_home=%~dp0../jdk1.7.0_0132bit
 
if exist D:\jdk1.8.0_51 ( set java_home=D:\jdk1.8.0_51) 
if not exist %java_home%  set java_home=%~dp0jre
  if not exist %java_home%  set java_home=C:\Program Files\Java\jdk1.8.0_71

echo %ahk_home%  %atibrow_home%  %java_home%


 
 
 
set javaexec="%java_home%\bin\java.exe"
  
rem a  start explorer z:
%javaexec%  -classpath ".;.\classes;%~dp0bin" -Djava.ext.dirs="%~dp0lib"      com.attilax.push.PushTestV3 100 10
pause

-Djava.ext.dirs=D:\workspace 空格\AtiPlatf\WEB-INF\lib_slf4j1.5.6